package com.itrip.service.impl;

import com.itrip.dao.ex.RoomMapper;
import com.itrip.dto.RoomDTO;
import com.itrip.service.RoomService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoomServiceImpl implements RoomService {

    @Resource
    private RoomMapper roomMapper;

    @Override
    public List<RoomDTO> selectRoomStore(int hotelId, int roomId) {
        return roomMapper.selectRoomStore(hotelId,roomId);
    }
}
